package info;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class UserOrder implements Serializable {
    //    OrderNO,IDNO,Flight,Fdate,Fclass,Discount,OrderState,OrderTime
    private String OrderNO;
    private String IDNO;
    private String Flight;
    private Date Fdate;
    private String Fclass;
    private Float Discount;
    private String OrderState;
    private Timestamp OrderTime;
    public UserOrder(){

    }
    public UserOrder(String orderNO, String IDNO, String flight, Date fdate, String fclass, Float discount, String orderState, Timestamp orderTime) {
        OrderNO = orderNO;
        this.IDNO = IDNO;
        Flight = flight;
        Fdate = fdate;
        Fclass = fclass;
        Discount = discount;
        OrderState = orderState;
        OrderTime = orderTime;
    }
    public String getOrderNO() {
        return OrderNO;
    }

    public void setOrderNO(String orderNO) {
        OrderNO = orderNO;
    }

    public String getIDNO() {
        return IDNO;
    }

    public void setIDNO(String IDNO) {
        this.IDNO = IDNO;
    }

    public String getFlight() {
        return Flight;
    }

    public void setFlight(String flight) {
        Flight = flight;
    }

    public Date getFdate() {
        return Fdate;
    }

    public void setFdate(Date fdate) {
        Fdate = fdate;
    }

    public String getFclass() {
        return Fclass;
    }

    public void setFclass(String fclass) {
        Fclass = fclass;
    }

    public Float getDiscount() {
        return Discount;
    }

    public void setDiscount(Float discount) {
        Discount = discount;
    }

    public String getOrderState() {
        return OrderState;
    }

    public void setOrderState(String orderState) {
        OrderState = orderState;
    }

    public Timestamp getOrderTime() {
        return OrderTime;
    }

    public void setOrderTime(Timestamp orderTime) {
        OrderTime = orderTime;
    }



    @Override
    public String toString() {
        return "UserOrder{" +
                "OrderNO='" + OrderNO + '\'' +
                ", IDNO='" + IDNO + '\'' +
                ", Flight='" + Flight + '\'' +
                ", Fdate=" + Fdate +
                ", Fclass='" + Fclass + '\'' +
                ", Discount=" + Discount +
                ", OrderState='" + OrderState + '\'' +
                ", OrderTime=" + OrderTime +
                '}';
    }

}


